/**
 * Copyright (c) 2018 人人开源 All rights reserved.
 *
 * https://www.renren.io
 *
 * 版权所有，侵权必究！
 */

package io.renren.service.impl;

import io.renren.common.service.impl.BaseServiceImpl;
import io.renren.dao.SysDeptDao;
import io.renren.dto.SysDeptDTO;
import io.renren.entity.SysDeptEntity;
import io.renren.service.SysDeptService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;


@Service
public class SysDeptServiceImpl extends BaseServiceImpl<SysDeptDao, SysDeptEntity> implements SysDeptService {

    @Autowired
	private  SysDeptDao sysDeptDao;
	@Override
	public SysDeptDTO getDeptName(Long id) {
		SysDeptDTO deptName = sysDeptDao.getDeptName(id);
		return deptName;
	}
}
